<%--
  Created by IntelliJ IDEA.
  User: 27636
  Date: 2023/7/27
  Time: 1:04
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
a
<%--  ${request.user.username}  EL表达式 ${key}  request获取请求域中属性 --%>
<h1 style="color: seagreen">登录成功，欢迎 ${requestScope.user.username}</h1>

<%--  ${sessionScope.user.username}  EL表达式 ${key}  session获取会话域中属性 --%>
<h1 style="color: orangered">登录成功，欢迎 ${sessionScope.sessionUser.username}</h1>
</body>
</html>
